package com.novax.ex.activity.open.model.request.task;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;

/**
 * 规则配置 requset
 *
 */
@Data
@Schema(description = "规则配置 requset")
public class TaskRuleRequest {

    /**
     * 语言
     */
    @Schema(description = "语言")
    @NotNull
    private String language;

    /**
     * 规则
     */
    @Schema(description = "规则")
    @NotNull
    private String rule;

}